<?php
/**
 * ExtServerAction class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtServerAction extends ExtServerActionBase
{
    /**
     * Gets the value of ExtJS onEvent property
     * @return String 
     */
    public function getOnEvent()
    {
    	return $this->getConfig("onevent");
    }

    /**
     * Sets the value of ExtJS onEvent property
     * @param String $value 
     */
    public function setOnEvent($value)
    {
    	$this->setConfig("onevent",$value);
    }

    /**
     * Gets the value of ExtJS delay property
     * @return Number 
     */
    public function getDelay()
    {
    	return $this->getConfig("delay");
    }

    /**
     * Sets the value of ExtJS delay property
     * @param Number $value 
     */
    public function setDelay($value)
    {
    	$this->setConfig("delay",$value);
    }

    /**
     * Gets the value of ExtJS action property
     * @return String 
     */
    public function getAction()
    {
    	return $this->getConfig("action");
    }

    /**
     * Sets the value of ExtJS action property
     * @param String $value 
     */
    public function setAction($value)
    {
    	$this->setConfig("action",$value);
    }

    /**
     * Gets the value of ExtJS onCompleteHandler property
     * @return String 
     */
    public function getOnCompleteHandler()
    {
    	return $this->getConfig("oncompletehandler");
    }

    /**
     * Sets the value of ExtJS onCompleteHandler property
     * @param String $value 
     */
    public function setOnCompleteHandler($value)
    {
    	$this->setConfig("oncompletehandler",$value);
    }

    /**
     * Gets the value of ExtJS disableControl property
     * @return Boolean 
     */
    public function getDisableControl()
    {
    	return $this->getConfig("disablecontrol");
    }

    /**
     * Sets the value of ExtJS disableControl property
     * @param Boolean $value 
     */
    public function setDisableControl($value)
    {
    	$this->setConfig("disablecontrol",$value);
    }

    /**
     * Gets the value of ExtJS onCompleteFunction property
     * @return String 
     */
    public function getOnCompleteFunction()
    {
    	return $this->getConfig("oncompletefunction");
    }

    /**
     * Sets the value of ExtJS onCompleteFunction property
     * @param String $value 
     */
    public function setOnCompleteFunction($value)
    {
    	$this->setConfig("oncompletefunction",$value);
    }

    /**
     * Gets the value of ExtJS loadMask property
     * @return Boolean 
     */
    public function getLoadMask()
    {
    	return $this->getConfig("loadmask");
    }

    /**
     * Sets the value of ExtJS loadMask property
     * @param Boolean $value 
     */
    public function setLoadMask($value)
    {
    	$this->setConfig("loadmask",$value);
    }

    /**
     * Gets the value of ExtJS loadMaskMsg property
     * @return String 
     */
    public function getLoadMaskMsg()
    {
    	return $this->getConfig("loadmaskmsg");
    }

    /**
     * Sets the value of ExtJS loadMaskMsg property
     * @param String $value 
     */
    public function setLoadMaskMsg($value)
    {
    	$this->setConfig("loadmaskmsg",$value);
    }

    /**
     * Gets the value of ExtJS controlToMask property
     * @return String 
     */
    public function getControlToMask()
    {
    	return $this->getConfig("controltomask");
    }

    /**
     * Sets the value of ExtJS controlToMask property
     * @param String $value 
     */
    public function setControlToMask($value)
    {
    	$this->setConfig("controltomask",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'onevent' => 'onEvent',
            'oncompletehandler' => 'onCompleteHandler',
            'disablecontrol' => 'disableControl',
            'oncompletefunction' => 'onCompleteFunction',
            'loadmask' => 'loadMask',
            'loadmaskmsg' => 'loadMaskMsg',
            'controltomask' => 'controlToMask'
        ));


        $this->jsconfigs = array_merge($this->jsconfigs,array(
            'onCompleteFunction' => true,
            'controlToMask' => true
        ));

        $this->proptags = array_merge($this->proptags,array(
            'oncompletehandler' => true,
            'baseparameters' => true
        ));
        $this->setXType(null);
        $this->setXClass('Ext4Yii.util.ServerAction');
    }    
}
?>